package cn.tedu.home.wife.service.impl;

import cn.tedu.home.husband.service.HusbandService;
import cn.tedu.home.wife.service.WifeService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

@Service
public class WifeServiceImpl implements WifeService {

    @DubboReference
    private HusbandService husbandService;


    @Override
    public void cleanRoom() {
        System.out.println("老婆让老公去洗碗");
        husbandService.washBowl();
    }
}
